package club.pchome.dao;

import club.pchome.model.TFundRecord;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;


/** EG、EEB、REB流水表**/
@Repository
public interface TFundRecordDao extends BaseDao<TFundRecord>{


	public BigDecimal todayOutput(long userId);

	public BigDecimal sumOutput(long userId);

	public List<TFundRecord> getRecordListByUserId(@Param("userId") long userId, @Param("fundType") int fundType);

	public TFundRecord getFundRecord(long userId);
}